Add reume file mgmt and auto cleanup of resume files