finishing touches on parse_path function
debugging mkdir, check parse_path function