He is charged with obstruction. Not "erasing data". Was he intentionally trying to hinder a search that was being legally conducted?
https://en.wikipedia.org/wiki/Obstruction_of_justice_in_the_...