Improved error checking when opening file

Fixed FileNotFoundError when trying to open file to load RSS feeds.