no way to pass a FID here, this is the most foolproof way I can think to catch this should it happen
#6580: Put this line back.
Merge pull request #6584 from openscholar/6571-3.15

Fix infinate file loop in prod