Keep history and local configs when purging files