Add the parseLibsFiles

so the parseGroup and parsePage can share this func.