# File lib/packaging/util/file.rb, line 15
    def file_exists?(file, args={:required => false})
      exists = File.exist? file
      if !exists and args[:required]
        fail "Required file #{file} could not be found"
      end
      exists
    end