Counts all kmers in all sequences in a FASTA/FASTQ file.

def consume_file(self, filename):
        """Counts all kmers in all sequences in a FASTA/FASTQ file."""
        with screed.open(filename) as sequences:
            for seq in sequences:
                self.consume(seq['sequence'])