Fixed the names file reader.