- Checks if a valid .oc file is passed.