In addition, we should consider having it throw an error rather than a warning if `overwrite && file.exists()`.