Only process json files in dataDirectory.