/**
  * @param $fileHandle
  * @param $itemName
  * @return array
  */
 protected function readDataFromTSV($fileHandle, $itemName)
 {
     $data = array();
     $data[IN] = null;
     $data[OUT] = null;
     while (!feof($fileHandle)) {
         $buffer = fgets($fileHandle, 4096);
         // strip out any line-endings that have gotten in here
         $buffer = str_replace("\r", "", $buffer);
         $buffer = str_replace("\n", "", $buffer);
         $parts = explode("\t", $buffer);
         if ($parts[0] == $itemName) {
             $data[IN] = WMUtility::interpretNumberWithMetricPrefixOrNull($parts[1]);
             $data[OUT] = WMUtility::interpretNumberWithMetricPrefixOrNull($parts[2]);
         }
     }
     return $data;
 }