Added print to file