Add urlencode to file path when view open document