@Podili Vijay Yes you can leverage triggerBody()['{Name}'] to check it with your fileName and for filename with extension you can leverage triggerBody()['{FilenameWithExtension}']
Let me know if you need any assistance.
Please accept as "Yes" if the answer is helpful so that it can help others in the community. If you need any help/clarification/concerns/follow up questions, then please click on "Add Comment" on my answer and provide more details.