Renamed the write method. Filters out blank values now.