Make function load on first world load?

As title says, how do I make a mcfunction file just load once the first time you load the world.

Continue to help post