public override void Evaluate()
{
String fileName = RegexMatch.Groups[1].Value;
File file = SelectedVolume.GetByName(fileName);
if (file != null)
{
ContextRunProgram runContext = new ContextRunProgram(this);
Push(runContext);
if (file.Count > 0)
{
runContext.Run(file);
State = ExecutionState.WAIT;
}
else
{
State = ExecutionState.DONE;
}
}
else
{
throw new kOSException("File not found '" + fileName + "'.");
}
}