print_file_info fix