<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def append_onto_file(self, file_name, msg):
 """ Appends msg onto the Given File """

        with open(file_name, "a") as heart_file:
            heart_file.write(msg)
            heart_file.close()