Removed writing to file