def build_file(name)
      build_files.find {|file| file.name == name or file.path == name }
    end
def build_file(name)
      build_files.find {|file| file.name == name or file.path == name }
    end
Find the first file that has the name or path that matches the specified
 parameter.

 @note this is the FileReference, the file being built and not the instance
   of the BuildFile.

 @see #file

 @param [String] name the name or the path of the file.
 @return [FileReference] the file referenced that matches the name or path;
   nil if no file is found.