The announcement came after classified files were found at the president’s home and at a former office.