detect_file_type
