Just a note that this also applies to loading palette files, which have similar logic for checking the file extension.
Just a note that this also applies to loading palette files, which have similar logic for checking the file extension.