<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_file_url(path, config):
 """ Update this function to help build the link to your file """

    file_url_regex = re.compile(config['file_url_regex'])
    new_path = re.sub(file_url_regex, config['file_url_base'], path)
    return new_path