Make main file accept comma-separated values and turn them into arrays.