Added filereader factory