code: public static File createFile(String path, boolean isHidden) throws IOException {
      File file = createFileSmart(path);
      if (OsUtil.isWindows()) {
        Files.setAttribute(file.toPath(), "dos:hidden", isHidden);
      }
      return file;
    }
docs: 创建文件，如果目标存在则删除