Made downtimes file parsing more robust