Added optional SLEEP

If slow filesystem, file might not be available in the following
process. Added sleep option.