made changes to permit file paths to be correctly concatenated in windows