Extract names from files that have one name per line