def METHOD_NAME(dependencies, machine_parameters):
    i = 0
    for x in dependencies:
        ctx = rs.Context("ssh")
        ctx.user_id = "vshah505"
        session = rs.Session()
        session.add_context(ctx)
        flag = 1
        for files in x:
            if flag == 1:
                service = machine_parameters[i][1]
                service = service[(service.find('/') + 2):]
                flag = 0
            else:
                # print("file://localhost" + os.getcwd() + "/" + files)
                # print("file://"+service+machine_parameters[i][2])
                f = rs.filesystem.File("file://localhost" + os.getcwd() + "/" +
                                                         files, session=session)
                f.copy("sftp://" + service + machine_parameters[i][2] + files)
                print("Successful copy")
        i += 1