Now generate-file.sh script won't overwrite the output file when using -l or -f options.