1. Removal of huge hard-coded memory allocation. The memory is now allocated dynamical depending on the raw-data event size. 2. Adding a possibility to write ddl files in a folder specified by the user. The possibility can be enabled by the user by providing the third argument with the folder where the ddl files are to be written. The ddl filenames are: <specified_folder>/raw<event_index>/<detector_name>_<equipment_id>.ddl. This format corresponds completely the way we write raw data during AliSimulation.