fetches HTTP header parameter from service
File downloader service for pdf, text and image