parseConfigFile was performing with a time complexity of O(n^2).
reduced time complexity to O(n), where n is the number of lines in the .fnt file.