    private function _create_mimic_cache_dir()
    {
        if ($this->config['mimic_source_dir']) {
            // Get the dir from the source file
            $mimic_dir = $this->config['cache_dir'] . pathinfo($this->source_file, PATHINFO_DIRNAME);
            
            // Try to create if it does not exist
            if (! file_exists($mimic_dir)) {
                try {
                    mkdir($mimic_dir, 0755, TRUE);
                } catch (Exception $e) {
                    throw $e;
                }
            }
            
            // Set the cache dir, with trailling slash
            $this->cache_dir = $mimic_dir . '/';
        }
    }