adding test for empty files