added limit=2 parameter to split() so Windows paths are properly parsed.