add createFromURL to Dir