Check this Workflow action to navigate to url
Make sure the variable file is a string containing a valid URL.