changed createDirectory to return the path created
creating folders in the sync path
using deltas to get files and folders