Create cacheWrite.java