encodeURI in case filename contains special character ex: space