write a watchfile for latex-beamer