Changed for testEmptyFile method