File utilities, and beginnings of the shaderprogram