Turned expandtab on for textfiles, off for other types