def save_output_in_cache(name, filename, output):
cache_filename = _get_cache_filename(name, filename)<EOL>with _open_for_write(cache_filename) as f:<EOL><INDENT>f.write(output)<EOL><DEDENT>
Saves output in the cache location.

    Args:
      name: string: name of the linter.
      filename: string: path of the filename for which we are saving the output.
      output: string: full output (not yet filetered) of the lint command.