Added fact file checking