added check for undefined basefilename
added check for undefined basefilename

LyonsLab/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,LyonsLab/coge