You would have to find a different way to tell apart different information in the file. Either the name has to come last so that you know the rest of the line is the name, or you need to separate things with commas so the name is the only thing with spaces.
As a last resort, you could find out how many space separated words there are and you know that the last 3 are not the name.