Added reading of status file