code: public static Item load(ItemGroup parent, File dir) throws IOException {
          Item item = (Item)getConfigFile(dir).read();
          item.onLoad(parent,dir.getName());
          return item;
      }
docs: Loads a {@link Item} from a config file.
  
  @param dir
  The directory that contains the config file, not the config file itself.