should be i <= max_file_number