the file extension is appended automatically when user renames a file