Handle gedit files