overwrite light curve file if it exists