Fixed bug in naming results files