fixed the problem of space character appearing in filename; but maintained a space character in the planet name by using two separate variables
commented out some lines
fixed problem of multiple occuring space characters in filename separated by characters