def write_file(content, filename):
    """
    Write content to a new file.

    :param str content: lines of the file as a string
    :param str filename: path to the file
    """
    with open(filename, 'w') as open_file:
        open_file.write(content)
