code: private ProjectFile handleDirectory(File directory) throws Exception
     {
        ProjectFile result = handleDatabaseInDirectory(directory);
        if (result == null)
        {
           result = handleFileInDirectory(directory);
        }
        return result;
     }
docs: We have a directory. Determine if this contains a multi-file database we understand, if so
  process it. If it does not contain a database, test each file within the directory
  structure to determine if it contains a file whose format we understand.
  
  @param directory directory to process
  @return ProjectFile instance if we can process anything, or null