works with relative path