Add get file url function