Fixed a bug with loading a file in 'spellcheck'