Huge refinements to load files depending on their order + optimization.