def relativize_paths(root, paths):
    """
    Take a list of fully-qualified paths and remove the root,
    thus making them relative to something.
    """
    clean_paths = []
    for path in paths:
        clean_paths.append(path.replace("%s/" % root, ''))

    return clean_paths