FileFormat

FileFormat["name"]
attempts to determine what format Import should use to import specified file.