write a watchfile for ftgl