':return: Sets the filename name for the given URL.'

@set_changed
def set_file_name(self, new):

    if (self.path == '/'):
        self.path = ('/' + new)
    else:
        last_slash = self.path.rfind('/')
        self.path = (self.path[:(last_slash + 1)] + new)
