Moved IPS file checking to IPS.c