<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_backup_path():
 """ Returns full path and filename of backup file """

    dirname, filename = path.split(path.splitext(config().todotxt())[0])
    filename = '.' + filename + '.bak'

    return path.join(dirname, filename)