added --id_file argument