sequence file writer example