def add(path, info):
    'Add file to dict'
    if os.path.isabs(path):
        if (not (persistence_config.base_path in path)):
            return
        path = os.path.relpath(path, persistence_config.base_path)
    files[path] = info
Add file to dict
def add(path, info):
    
    if os.path.isabs(path):
        if (not (persistence_config.base_path in path)):
            return
        path = os.path.relpath(path, persistence_config.base_path)
    files[path] = info