The upload of a file (as well as the upload of a page) fails often due to loss of session data.
In such cases, the file upload form remembers all text description fields including the new file name, but forgets the previously selected file path with original file name. It's a bit bothering to be forced to select the file again and again.