fail on unable to open file