add file record reader/writer