Improved handling of ErrorFile.txt

Created by: Lars Dalby

Need to make a check to see if the file is there or add a dummy error file, so there is always something to copy.