closes #7 correct handling of spaces within the paths