Eanble peer download file dynamically

Signed-off-by: Hongyi Jia <Hongyi.Jia.GR@dartmouth.edu>