Clean fstream in hashrm.cpp, config.cpp. + run_scripts.cpp. tapmlate move to hpp