if (-e $file) { print STDERR "$file already exists, deleting previous version\n"; `rm -f $file`; }