DEBUG_CLASS_NAME + "getEntitiesFromFile(): for " + idFile.getPath());
Collection ids = null;
Class type = getEntityType(idFile);
if ( EntityTypes.getEntityTypeID(type) == null )
{ throw new GroupsException("Invalid entity type: " + type); }
try
{ ids = getEntityIdsFromFile(idFile); }
catch (Exception ex)
{ throw new GroupsException("Problem retrieving keys from file", ex); }
Collection entities = new ArrayList(ids.size());
for ( Iterator itr=ids.iterator(); itr.hasNext(); )
{