allow alternate file types, eg json