 The play performed in the movie is an adaptation of "Bluebeard",  which is a French fairy tale recorded by Charles Perrault about a  man who marries, kills his wives after they fail a test, stashes  their bodies in a small chamber, then marries again. In the original  story, the main character (Bluebeards current wife) escapes her  psychopathic husband and finds happiness elsewhere.