Add kill/resubmit files support.

Please review.