catch file get contents error too