Filemanager: check if uploaded file is empty