reading from corrupt or empty file bug fix