Added .c_str to filepath.