Implements a decodeFilename function to use instead of decodeURI on decoding the path of the file being served from the url
Introduce decodeFilename helper function