Took out writing to files