Catch file not made error