<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(file_path, content):
 """ Write file at the specified path with content. If file exists, it will be overwritten. """

    handler = open(file_path, 'w+')
    handler.write(content)
    handler.close()