private function validateBinary($binaryFile) { if (!file_exists($this->directory . $binaryFile)) { throw new Exception(sprintf('%s do not exist!', $binaryFile)); } }