code: private TableDefinition determineTableFromFileName(String fileName) {
          ApplicationDefinition appDef = m_session.getAppDef();
          for (String tableName : m_tableNameList) {
              if (fileName.regionMatches(true, 0, tableName, 0, tableName.length())) {
                  return appDef.getTableDef(tableName);
              }
          }
          return null;
      }
docs: table name that matches the starting characters of the CSV file name.