Hide file type in widget, if it no defined