Tayna zheleznoy dveri) is a 1970 Soviet children's film directed by Mikhail Yuzovsky after a screenplay by Aleksandr Rejzhevsky loosely based on a story Wizard Walked Through the City by Yuri Tomin.
[1] Fourth-grader Tolik Ryzhkov (Evaldas Mikaliunas), a mischievous boy and habitual fibber, stumbles upon a box of magical matches while hiding in a transformer booth.
This angers the matches' original owner, a young wizard (Sergei Yevsyunin) who had used a similar box to create an isolated island where he rules over a world centered entirely on himself.
In a final act of selflessness, Tolik destroys the last magical match, renouncing its power and breaking the wizard’s hold.
Returning to the real world, Tolik finds that the good deeds done for others with the matches remain intact, affirming the value of kindness and friendship.