 The reason the plot of the fairy tale wasnt used for the movie may  have had something to do with the fact that in the original fairy  tale, there are some 42 murders; the first is Ali Babas cousin, and  the other forty