Upload file validator and empty file

Currently we can't retrieve error message when file is null