More file handling

Made sure that it is possible to get the names from file