@Abhijit Shrikhande Welcome to Microsoft Q&A forum and thanks for reaching out here.
To Filter out only files and skip folder then you can use any of the below expression in your Filter activity condition:
@equals(item().type, 'File')
OR
@not(equals(item().type, 'Folder'))
OR
@not(contains(item().type, 'Folder'))
OR
@contains(item().type, 'File')
I just tested all these expressions, and everything is working as expected.
Hope this info helps. In case if you are still blocked and these expressions doesn't work for you, kindly share you get metadata output JSON payload so that we can investigate further.
Here is an old thread related to same requirement: Azure Data Factory - Use Filter Activity to filter .txt files from Folder
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.