add middle check file