dom0: wait for folder to be created before adding file