Cleaned up TextFileInputDialogDelegateResource