I have a dictionary txt file that looks like this :
Aaliyah
Aaron
Abandon
Abandoned
Abatement
Abba
Abbey
Abbott
Abbreviation
Abbreviations
Abby
...
I'm trying to write a function that looks something like getLineFrom('dictionary.txt', 6) that simply gets what is in line 6 (for example) (Abba) from the dictionary.txt file
But i don't want to load the whole dictionary (with 20k words) into javascript and then traverse that list to get to my line, I just want it to grab line X from a txt file