Provide a different message when the file has no extension