preparations for syncing files