fix download+upload file + add Makefile