Logs a read i write file