Adding file upload functionality