using percent encoding to encode file names