# File lib/kwala/actions/code_coverage.rb, line 196
  def file_coverage_filename(context, file)
    # from /usr/local/bin/rcov:74:in `normalize_filename' (rcov 0.5)
    file = File.expand_path(file).gsub(/^#{Regexp.escape(Dir.getwd)}\//, '')

    file.split("/").join("-").gsub('.', '_') + ".html"
  end