140627 Added CSV write for general routine report