The current API uses `textFile` to load text files. I suggest using `wholeTextFile` to load the entire content of each file. `small` is not a good name here because it is not defined.