separate download function from read and parse function on imgur