removed print to file