condition variable for file url