truncate existing files