throw file reading error