implementation of TrevniMultiFileReader and TrevniMultiFileWriter