Added support for file responses