Actually use the middleware :)
Correct small mistake with filename extraction in crawler