If we call to this method a lot of times (I don't know), we could save on memory a map with manifests so the operations will be faster