I am coding a program, that deletes all redundant / in the path of the file. In other words ///a/////b should become /a/b. I can delet
/
///a/////b
/a/b