Refactor: Don't load into memory if only save to file.