converting the new method to generate maas deployer file.