checking the files