Adding file upload handling