Fixed Path issue by using built-in "filesep" function.