/**
  * Detect if a custom environment file matching the APP_ENV exists.
  *
  * @param \Viserio\Contracts\Foundation\Application $app
  */
 protected function checkForSpecificEnvironmentFile(Application $app)
 {
     if (!getenv('APP_ENV')) {
         return;
     }
     $file = $app->environmentFile() . '.' . getenv('APP_ENV');
     if (file_exists($app->environmentPath() . '/' . $file)) {
         $app->loadEnvironmentFrom($file);
     }
 }