Small fix for file upload