updated Checkfile