handling synchronization on file and not directory