lass="s1">&#39;</span><span class="si">{self.name}</span><span class="s1">.</span><span class="si">{self.extension}</span><span class="s1">&#39;</span><span class="p">)</span>            
        <span class="k">else</span><span class="p">:</span>
            <span class="c1"># If cdb not given and directory was given</span>
            <span class="n">filename</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">