private static String mungeName(String fname){
  String result=fname;
  result=result.replace("/",SLASH_SWAP);
  return result;
}

private static String mungeName ( String fname ) { String result = fname ; result = result . replace ( "/" , SLASH_SWAP ) ; return result ; }
some function names do not map into useful or even legal filenames . this method takes care of that .
