def unlink_older_than(path, mtime):
 filepaths = map(functools.partial(os.path.join, path), listdir(path))
 return unlink_paths_older_than(filepaths, mtime)

def unlink_older_than ( path , mtime ) : filepaths = map ( functools . partial ( os . path . join , path ) , listdir ( path ) ) return unlink_paths_older_than ( filepaths , mtime )
remove any file in a given path that that was last modified before mtime .