Read all the names from one input file at a time