Worked out the bugs for deleteing files durring sync. I still need to do the upate / new file syncing along with check for more bugs in the delete sync.