the sleepy snake
index
::
path
:: replace_file
replace_file(path, filename=
)
Replaces the file part of a path and returns the resulting path