Is there a way to fix the random seed of every workers in dataloader?

An even dumber question, is it enough to set seed just in the main file or every file that is being imported in the main file should have their own seed?