change name in tryreadingfromafile class