Added download function between cage and investigator endpoint