Split resources into a separate file