def METHOD_NAME(app, appsubconfig, appmasterconfig, jobmasterconfig):
    logger.debug("RTUTils sandbox_prepare")
    inputsandbox = []
    outputsandbox = []
    # Here add any sandbox files coming from the appsubconfig
    # currently none. masterjobconfig inputsandbox added automatically
    if appsubconfig:
        inputsandbox += appsubconfig.getSandboxFiles()
    # Strangly NEITHER the master outputsandbox OR job.outputsandbox
    # are added automatically.
    if jobmasterconfig:
        outputsandbox += jobmasterconfig.getOutputSandboxFiles()
    if appsubconfig:
        outputsandbox += appsubconfig.getOutputSandboxFiles()
    return unique(inputsandbox), unique(outputsandbox)