redo url template for folders and files