Added option to run from a saved file rather than live data - should help with debugging....