notFound needs to be last as default handler
Delete image file only when an exception is caught