add seperate 2d checkfile method