created filereader class