handle %2B and %20 in  dirs and files