multiple  file hosts support

fixes bug when shortened file host domain is used in links