Modified Analysis.py to write output as one line, and to read ancient-format plug files