protected function fetchReqSec($log_file) { $lines = file($log_file); $data = explode(',', $lines[1]); return (float) $data[5]; }