remove .doc file and make remove some logging messages