def write_lines(filepath, lines):
    """Write the given lines to the file in filepath

    Parameters
    ----------
    filepath: str

    lines: list of str
    """
    with open(filepath, 'w') as f:
        f.writelines(lines)
