Managing files on an iPhone has become significantly easier with recent updates to iOS, particularly with the introduction of the ability to change file extensions directly within the Files app.
Microsoft hides file extensions in Windows by default even though it's a security risk that is commonly abused by phishing emails and malware distributors to trick people into opening malicious files.