private function assembleEnvironmentFilePath($filePath, $environment = true)
    {
        if (true === $environment) {
            $environment = $this->environmentInstance->getEnvironment();
        }
        $directories = explode('/', $filePath);
        $fileName = array_pop($directories);
        $fileNameWithoutExtension = $this->extractFileNameBase($filePath);
        array_push($directories, $this->environmentSubdirectoryName, $environment, $fileNameWithoutExtension);
        $result = implode('/', $directories);
        return $result;
    }