public static void crtFile(final String pathname) throws IOException {
    final File file = new File(pathname);

    if ((file.getParentFile() != null) && !file.getParentFile().exists()) {
      // FileManagement.crtDir(file.getParentFile().getPath());
      FileManagement.crtLogDir(file.getParentFile().getPath());
    }

    try {
      file.createNewFile();
    } catch (final IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
  }