fix to adminGenerator; second attempt

changed: fileGenerator::sub() to public;
added: fileGenerator::getDirectory();