adding checking file