made dictionary an external text file