decodeURI to fix spaces in filenames