Use a builder for the file to simplify creation.