connect the CLI class to use the same code-base for processing files