Fix for the file_upload directive