add sleep time if not get file size