code: public static File toFile(Object obj) throws PageException {
  	if (obj instanceof File) return (File) obj;
  	return FileUtil.toFile(Caster.toString(obj));
      }
docs: convert a object to a File
  
  @param obj
  @return File
  @throws PageException