Using canonical-path instead of path for windows compatibility