read path from variable