upload empty file check, need refinement!!!!!!!!