added support for cowfile