Included boolean output in hashMapToTextFile