clean up response file code