Checks the type of file (SVG or AVG) and invokes the correct optimization process using the appropriate optimization tools.
Verify the availability of dependencies required by the optimizers.