Correct file url endpoint