A file extension such as PDF, TXT or JPG generally indicates its format. Renaming the extension alone does not convert the contents. Configure your file manager to show extensions if that helps you distinguish similar names.

Be cautious with unexpected attachments and executable files. A familiar-looking name is not proof of safety, especially when extensions are hidden or misleading.