trying to get write to file working