Moved methods into stringCollection.lua and added getRandomLineFromFile function. Refactored fileIOTests accordingly