def write_file(secret_msg, path):
    file = open(final_path, 'a+')
    sentence = file.write(secret_msg)
    file.close()
    return sentence
def write_file(secret_msg, path):
    file = open(final_path, 'a+')
    sentence = file.write(secret_msg)
    file.close()
    return sentence