I decided to switch the vector into a char array since I will need it in that form for other tasks I need to do.
I do not know why when switching my range based loop to just use std::begin and std::end that my compiler is saying there is no call function for 'begin'.
I do not understand why you deleted the definition of music from the original post. It seems it was defined as a two-dimensional character array. In this case filename has type char *.