create the directory before fetching urls