Improve the clean up - do not delete the file but erase its content.