catch file not found exception in grind script.