// Get new instance
$stackInstance = new ???FileStack();
- // Get the I/O file pointer instance and handle over file name
- $pointerInstance = ObjectFactory::createObjectByConfiguredName('file_raw_input_output_class', $fileName);
-
- // Set instance here in stack
- $stackInstance->setPointerInstance($pointerInstance);
+ // Init this stack
+ $stackInstance->initStack($fileName);
// Return the prepared instance
return $stackInstance;