fixed file IO append bug, todo: cleanup directory upon init, conclusion should also be in results.txt