why did i use rsplit?
use universal path separators