when trying to upload an empty file an error message is now displayed; fixes #18