Setting tex filetype also on read.