checks files