CachedProcessor - write files in more safe way