This is the second time we've concated the "target/public/" string with `file`. Can we do it once before the `if` and assign it to a val of `src` or something like that.