GUI.getDisplay().asyncExec(new Runnable() {
public void run()
{
try
{
new Program().handleAction(file);
}
catch (ApplicationException ae)
{
Application.getMessagingFactory().sendMessage(new StatusBarMessage(ae.getLocalizedMessage(),StatusBarMessage.TYPE_ERROR));
}