Utility to sync document attachments with local directory