trying to implement file extension & size transfer