return null if path does not exist