DW: Recursivley replaces the slash with underscores
DW: Added doc string