Properly syncing created files