Rename fname to path
Add base of web ui