Added support for retreiving binary files