add file_reader test and lib