update filereader class