HI there, i had the same problem with a cheap TD4 i bought to go to spain and collect a trailer. i was aware that the MAF sensor was dodgy but it only restricts idle performance and fuel economy. However it can eventually bugger the injectors. I pulled the trailer up some seriously steep hills with the maf disconnected, but eventually in the summer heat, i had started at night in the cool air, the calculations that the MAF would be making to maximise performance werent there, and the engine started spluttering and eventaully it just kept stalling, together with the engine management light flashing on and off together with the engine cutting out.
After making it home with lots of white smoke and stuttering i plugged in the OBD reader, the best investment of my mechanical life, and it tells me that the fuel rail pressure is missing, the engine speed sensor is missing and the MAF is disconnected, duh!
My first port of call is to change the fuel filter. then check the fuel pump in the tank, You should be able to hear it for about ten seconds after turning the ignition on, whirring. sometimes, on other cars i have experienced the inlet pipe to the pump being blocked. access to the pump is under the boot mat via a large plastic disc. Then replace the MAF sensor, which you can get on ebay for less than 30 quid.
The problem with ECU controlled cars, which is now just about all of them, is that you can get faults on the OBD reader that make tragic reading when in fact it is usually something fairly cheap and basic. So my advice is change all filters, listen for the pump, if no sound, check its working. if not buy an OBD reader, for about 130 quid, of 250 quid with its own dedicated tablet. trust me its so worth it.