Refactor makeKey(file) to makeKey(req, file)