in closed_files replaced ls by find