Slightly more robust solution, defaults to relative path.