Create file and automatic syncing