loadDeployments function

Load deployments file and Check the structure