'Updates and deploys new app versions based on given config files.'

def UpdateUsingSpecificFiles(self):

    rpcserver = self._GetRpcServer()
    all_files = ([self.basepath] + self.args)
    has_python25_version = False
    for yaml_path in all_files:
        file_name = os.path.basename(yaml_path)
        self.basepath = os.path.dirname(yaml_path)
        if (not self.basepath):
            self.basepath = '.'
        module_yaml = self._ParseAppInfoFromYaml(self.basepath, os.path.splitext(file_name)[0])
        if (module_yaml.runtime == 'python'):
            has_python25_version = True
        if ((not module_yaml.module) and (file_name != 'app.yaml')):
            ErrorUpdate(("Error:    'module'    parameter    not    specified    in    %s" % yaml_path))
            continue
        self.UpdateVersion(rpcserver, self.basepath, module_yaml, file_name)
    if has_python25_version:
        MigratePython27Notice()
