'Remove the file from the web root.
PLEASE NOTE: This is duplicated code!! see the same note above.'

def _rm_file(self, url_to_include):

    filename = url_to_include.split('/')[(-1):][0]
    os.remove(os.path.join(get_home_dir(), 'webroot', filename))
