rename compression middleware
log path on file read and write