delete files on failure