add cache file syntax check