Upload File Class - Added type restrictions