bin/parser: simplify `Helper.getPagesFiles`