I need to download files on links clicked and window.open seemed to be a good choice. All needed was to hit this url containing filename as params.
now with login authentication in picture, how do I add authorisation headers to the window.open(url,'_blank')