Then we should do some other kind of sleep, such that when file is ready we will wake up.