code: public void moveThisFile(File fileSource, File fileDestDir, String strDestName)
      {
          // Step 1 - Find the class name for this file:
          String className = fileSource.getPath().replace('/', '.');
          if (className.endsWith(".xml"))
              className = className.substring(0, className.length() - 4);
          boolean classFound = false;
          Record record = null;
          String databaseName = null;
          Map<String,String> oldProperties = new HashMap<String,String>();
          
          if (className.endsWith(DatabaseInfo.DATABASE_INFO_FILE))
          {
              record = new DatabaseInfo();
              databaseName = this.getDatabaseInfoDatabaseName(className);
              ((DatabaseInfo)record).setDatabaseName(databaseName);
              if (databaseName.indexOf('_') != -1)
              {
                  String tableName = "DatabaseInfo_" + databaseName.substring(0, databaseName.indexOf('_'));
                  record.setTableNames(tableName);
              }
              record.init(this.m_parent);
              this.saveOldProperties(oldProperties, record);
          }
          else
          {
              while (!classFound)
              {
                 record = (Record)ClassServiceUtility.getClassService().makeObjectFromClassName(className);
                 if (record != null)
                 {
                      record.init(this.m_parent);
                      classFound = true;
                 }
                 else
                 {
                     if (className.indexOf('.') == -1)
                     {
                         System.out.println("Class not found: " + fileSource.toString());
                         return;
                     }
                     databaseName = className.substring(0, className.indexOf('.'));
                     className = className.substring(className.indexOf('.') + 1);
                  }
              }
              this.saveOldProperties(oldProperties, record);
              databaseName = this.fixDatabaseName(databaseName, record, oldProperties);
          }
          
          String recordDBName = record.getDatabaseName();
          System.out.println("Process import: " + className + " (" + databaseName + ") to " + record.getRecordName() + " (" + recordDBName + ")");
          if (!inout.importXML(record.getTable(), fileSource.getPath(), null))
              System.exit(1);
          
          this.restoreOldProperties(oldProperties, record);
          record.free();
      }
docs: Do whatever processing that needs to be done on this file.