Updated: close file in spell_check.py