You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: fmt_embl.rb
    path of file: ./repos/genometools/scripts
    
    the code of the file until where you have to start completion: #!/usr/bin/env ruby
#
# Copyright (c) 2009 Sascha Steinbiss <steinbiss@zbh.uni-hamburg.de>
# Copyright (c) 2009 Center for Bioinformatics, University of Hamburg
#
# Permission to use, 
    
def each_seq(filename)
  File.open(filename) do |file|
    (farr = file.read.split(">")).each do |fitem|
      seq = fitem.split("\n")
      fline = seq.shift
      next if fline.nil?
      sequence = seq.collect{|l| l.chomp}.join
      yield fline, sequence
    end
  end
end