jpg) were optional, although often used for compatibility with other platforms and with web. File extensions, those bits of text that follow a period at the end of a file (like. Back in the pre-Mac OS X and macOS days, Apple’s System 9 and earlier relied on hidden metadata to associate files with apps.