Add a function to browse a file from programmatic input/ allow for routes that don't have file extensions in the url