splits the constants out into a file