for ($idx = 0; $idx < 5; $idx++) {
// Get a file output pointer
try {
- $fileInstance = FrameworkFileOutputPointer::createFrameworkFileOutputPointer($fileName, 'w');
+ $fileInstance = ObjectFactory::createObjectByConfiguredName('file_raw_output_class', $fileName);
} catch (FileIoException $e) {
// Create missing directory
$dirName = dirname($fileName);
$readData = ''; // This will contain our read data
// Get a file input handler
- $fileInstance = FrameworkFileInputPointer::createFrameworkFileInputPointer($fqfn);
+ $fileInstance = ObjectFactory::createObjectByConfiguredName('file_raw_input_class', $fqfn);
// Read all it's contents (we very and transparently decompress it below)
while ($readRawLine = $fileInstance->readFromFile()) {