add support for Sweave files