Security to verify that file is not empty