Change format of URLs to allow file serving