make test wait while original file is ready