Add file save - with check in other thread