Adding check for empty files