Add documentation for record_file_append