Opening text files from finder: Unable to find application
Try setting the default app to open .txt files using Get Info


Left click a text file
Choose "Get Info"
Under "Open with:" choose the app you want to use as the default
Click "Change All..."
Click "Continue"