infrastructure: fix issue with file culling.