Create errors.txt