read path from forwardURI
rename controller
read path from forwardURI - improvements
fix exception when path to directory is given
refactor tests