read and lookup paths without slash