use file extensions to distinguish file content types