Use a centralised method
getRealPath in favor of getPathName
Made the method reusable for the installer
use the finder-component