removes .meta and history files