Replace FileUtil with URL encoder-decoder