change filenames to urls