handle filenames which have space encoded as %20