code: public static boolean createFile(String filePath) {
          if (!StringUtils.isEmpty(filePath)) {
              File file = new File(filePath);
              return createFile(file);
          }
          return false;
      }
docs: Create a file, If the file exists is not created.
  
  @param filePath file path.
  
  @return True: success, or false: failure.