fixed bug where filename creates 'illegal unicode sequence'
small cosmetic changes in DWIM literal