added directory transform and usage by syncTo transform. Included adding
Output.getCurrentPaths.