master
import
public function import($filename) { if (!$this->checkFormat($filename)) { throw new \Exception("Invalid text file: ".basename($filename)); }