def file(name)
      files.find_all {|file| file.name == name or file.path == name }
    end
def file(name)
      files.find_all {|file| file.name == name or file.path == name }
    end
Find all the files that have have a name that matches the specified name.

 @param [String] name of the file that you are looking to return.
 @return [Array<FileReference>] the files with the same mathching
   name. This could be no files, one file, or multiple files.