Replaced ExternalDataDirectory with Directory