buffer->file,with-error & file->buffer,with-error