protected function getBinaryFilePath() { // compatibility $compatibilityPath = $this->getLegacyFilePath() . ".bin"; if (file_exists($compatibilityPath)) { return $compatibilityPath; } return $this->getFilePath() . ".bin"; }