Python module to read a file backwards