Added a check on the filetype, should only be loaded for texfiles