cachesDirectory -> directoryPath