fix issue with _log.deprecated in filetools module, update import statements for modify_env/read_environment