if your wanting the url from the page why not just type in the redirect url
unless it could change, in that case if your navigationis like this
file() > redirect url > redirect page
then their would be no possible way of getting this
however!
if the url which is a redirect is redirecting from a link in a database, your database then you could simply, use a select statement and loading the url into file() like that