 The exterior shots were filmed at St. Marys Home, an orphanage, in  Ambler, Pennsylvania. The main building looks like a stone castle  and is still standing. It was featured prominently in the film but  all the interior shots were done in a studio in California.