I suggest you use the more concise idiom `targetFileName = options["save-to"] || path.join(...)`.