Penicuik duly stepped into the quarter finals of the Cup with a home tie next against fellow Super League St Andrews United in the last eight.
The Rosyth tie started evenly until the ninth minute when a poor clearance by Rosyth’s keeper Wortley was pounced on by Keith Lough, but his lob over the keeper came back off the crossbar.
Then in the 17th minute, a surging run by Lewis Barr ended with his strike flying high over the bar.
One minute later, Lough came close with a header off a Ryan Gay cross from the right wing. Then at the other end Rosyth’s Hampson shot weakly into the arms of Penicuik keeper Bejaoui. In the 34th minute, another surging run by Barr set up Lough, but a last gasp tackle by O’Connor saved the day for Rosyth.
Just before half time, a Lough diving header off a Ryan Gay free kick was well saved by Wortley and then the rebound was headed by Ryan McCallum straight back into the South Division Rosyth keeper’s arms leaving it goalless at half time.
Penicuik needed to find the net in that second half but two minutes into the half and Penicuik had keeper Bejaoui to thank when he brought off an instinctive one handed save to deny Hampson.
Finally Penicuik took the lead in the 52nd minute when McCallum , at the back post headed home a Ryan Gay corner kick.
Three minutes later, another Ryan Gay corner kick caused the Rosyth defence real problems that forced keeper Wortley to punch clear. The ball fell to Jordan Lister some 35 yards out but his first time volley went just wide of the target.
In the 64th minute however Penicuik doubled their lead when a searching cross by Ryan Gay was bundled into the net by Keith Lough.
In their next attack, another cross from the right wing was cut out by keeper Wortley at the second attempt.
Eighteen minutes from time the outcome was settled when Devlin smashed home a 35 yard volley that fizzed past keeper Wortley.
In the 87th minute, Rosyth almost pulled a goal back, but Hampson’s strike was brilliantly saved by Bejaoui. Right on full time, the game flared up when O’Connor cynically chopped down Barr off the ball, but neither the referee nor his stand side assistant were aware of the incident and no action was taken.