code: private File convertToFile(String folder) {
          Assert.notNull(folder, "LocalResourcePackFile pack points to an null folder");
          File result = new File(folder);
          Assert.isTrue(result.exists(), "LocalResourcePackFile pack points to an unknown folder : " + folder);
          return result;
      }
docs: -----------------------------------------