Fixed file upload