coditions added for adding the empty file in solr admin