<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_file(content, *path):
 """ Simply write some content to a file, overriding the file if necessary. """

    with open(os.path.join(*path), "w") as file:
        return file.write(content)