file url calculation (bata)