Generalize upload print statement