`solutionfilecandidates` -> `solution_file_candidates`

The other vars in this function named `solutionfile[s]` should also be `solution_file[s]`. You might want to change this while you're here.