photoinfo: more general version of caching
added script checkProjectFiles.py