You never call this function with arguments. As far as I can tell, all you really need it to do is shuffle the lines of the file.