check correct files