code: public static void writeNucleotideSequence(File file, Collection<DNASequence> dnaSequences) throws Exception {
  		FileOutputStream outputStream = new FileOutputStream(file);
  		BufferedOutputStream bo = new BufferedOutputStream(outputStream);
  		writeNucleotideSequence(bo, dnaSequences);
  		bo.close();
  		outputStream.close();
  	}
docs: Write a collection of NucleotideSequences to a file
  @param file
  @param dnaSequences
  @throws Exception