# File lib/fsdb/database.rb, line 511
  def identify_file_type(f, path)
    format = find_format(path)
    f.binmode if format.binary?
    f.format = format
  end