error handling in ets fs read file