fixed file write handle, unique seqRecords in lists