def METHOD_NAME(self, file_name, dialog_name=None):
    if dialog_name is None:
        dialog_name = 'REMOTE_ENGINE_MANUAL_COPY_FILES_FROM_ENGINE'
    resfilename = self.dialog.queryString(
        name=dialog_name,
        note=_(
            'Please copy {file_name} from the engine server to some '
            'file here.\n'
            'Please input the location of the local file where you '
            'copied {file_name} from the engine server: '
        ),
        prompt=True,
    )
    with open(resfilename, 'rb') as f:
        res = f.read()
    return res