The file contains a very long string. Reverse the string which is too big in the size to fit into the RAM. Wondering what would be the ideal solution here.