add ts extension to external open files