fixed readFromFile

*ugh, needed also to fix readFromFile (now done)