trying to write array to file