using files to track response statuses and headers