Dunfermline took the lead three minutes into the second half when Lawrence Shankland scored but Brechin equalised with a well-worked goal. A back-heel from Bobby Barr set up Robert Thomson and he blazed a shot past Ryan Scully before Millen's late spot-kick won the game.
Two late goals from Sean Higgins earned Stenhousemuir a 3-2 win at Ayr United. Ben Greenhalgh gave Stenhousemuir a half-time lead only for Ayr to turn it around with goals from Michael Moffat and Alan Forrest. Higgins equalised with a penalty three minutes from time and then hit the winner in injury-time.
East Fife won 2-1 at Forfar Athletic after falling behind to a Chris Duggan goal after 32 minutes. Liam Buchanan equalised three minutes later and Nathan Austin scored before half-time to secure the win.
Stranraer and Airdrieonians drew 1-1 at Stair Park. Jamie Longworth netted five minutes into the second half for Stranraer but the visitors equalised three minutes from time through an own goal from Scott Rumsby.