Automatically detect files with a ".t" extension