changed the fileRetrieverTask to be more general with generics to now support string and inputstream responses to avoid the to-string conversion before saving to file.