updated filereader