Added verification at file upload