Preparing material file and fixed obj material file loading.