Added file upload method