Create a record reader/writer interface.