Couple more points on running your tank empty and filter change: it depends:
- any crud and water settles to the bottom of the tank, which might end up in the fuel filter and water separator.
- diesel from gas stations will very likely not have any particles. It should thousands of milea before the fuel filter needs changed.
- Diesel from fuel cans, farm tanks, or 55 gal drums may have dirt in it. A filter could be ruined with a couple fill ups. (I never pump from a tank directly into my equipment)
- tanks can rust. For winter srorage, I fill my tractor and excavator to the point the tank has no air gap under the fuel cap. The fuel caps are horizontal (tanks fill from the top) not like cars. If I leave just a few inches of air above the diesel, moisture will condensate on the fuel cap, which will rust. That crud will settle in the tank. The condensing water will settle in the water separator. If you don't drain that for a while, the engine will stall.