check the files