modulify the file url method