Added file exist check to reset of copy out.
Added functionality to clear relic database.