* Move tny_folder_sync after remove operation and define it