when copyiing the results a wrong filename was specified it failed, moved into try