Support lazy file generation