Updated deswp to take care of gedit files too