def generate_application_package_files(self):
        """
        Generate files to be zipped for application package
        """

        # Create the directories and files, and write content
        os.makedirs(self.base_dir, exist_ok=True)
        for subdir in self.subdirs:
            os.makedirs(os.path.join(self.base_dir, subdir), exist_ok=True)
            for file in self.application_package_files[subdir]:
                file_path = os.path.join(self.base_dir, subdir, file)
                with open(file_path, 'w') as f:
                    if file == "test_vespa_client.sd":
                        content_for_test_vespa_client_sd = self.get_test_vespa_client_schema_content()
                        f.write(content_for_test_vespa_client_sd)
        for file in self.application_package_files[""]:
            file_path = os.path.join(self.base_dir, file)
            with open(file_path, 'w') as f:
                if file == "services.xml":
                    content_for_services_xml = self.get_services_xml_content()
                    f.write(content_for_services_xml)
                if file == "hosts.xml":
                    # This will only happen for multinode
                    content_for_hosts_xml = self.get_hosts_xml_content()
                    f.write(content_for_hosts_xml)

        Generate files to be zipped for application package
        
scripts/vespa_local/vespa_local.py