add context to response body

In my project,I want to validate many files at one time,so when ready to save the result to database,i need to figure out the relationship between responsed result and the file,so I update this code.