code: public static void readTSV(Connection connection, String fileName, String tableReference) throws SQLException, FileNotFoundException, IOException {
          File file = URIUtilities.fileFromString(fileName);
          if (FileUtil.isFileImportable(file, "tsv")) {
              TSVDriverFunction tsvDriver = new TSVDriverFunction();
              tsvDriver.importFile(connection, tableReference, file, new EmptyProgressVisitor());
          }
      }
docs: Copy data from TSV File into a new table in specified connection.
  @param connection
  @param fileName
  @param tableReference
  @throws SQLException
  @throws FileNotFoundException
  @throws IOException