Use IO to read log files and use Regex to analyse logs