':param filename: The file to be read
:return: The contents of the file that was passed as parameter'

def read(self, filename):

    (cmd, process) = self._wrap_param([('--file-read=%s' % filename)])
    local_file_re = re.compile("the    local    file    '(.*?)'    and")
    stdout = process.stdout.read()
    try:
        local_file = local_file_re.search(stdout).group(1)
    except:
        return ''
    else:
        if os.path.exists(local_file):
            return file(local_file).read()
    return
