model IO file checking