Add support for tupfiles