File extensions are appended to the end of a file name and, if present, tell Windows what program to use to open it. For example, all files ending with .docx are unlocked by default in Microsoft Word.