fixed the HUGE issue of dealing with files with spaces in the names