Check if the file even has an extension