Fixing a bug that caused a file not found exception due to dictionary.txt not being within scope.