Converted OpenFileAction from an Action to a command Handler