I needed a separate process that would open some files on initialization and close them gently at the end. For this, I inherited a class from Process. Here is a
Process