check for existence of files, not only cache dir