public function __construct(string $filename) { $fileReader = new FileReader($filename); $version = $fileReader->readPascalString(30); $this->title = trim($fileReader->readDelphiString()); $this->subtitle = trim($fileReader->readDelphiString()); $this->artist = trim($fileReader->readDelphiString()); $this->album = trim($fileReader->readDelphiString()); $this->composer = trim($fileReader->readDelphiString()); $this->copyright = trim($fileReader->readDelphiString()); $this->transcriber = trim($fileReader->readDelphiString()); $this->instructions = trim($fileReader->readDelphiString()); }