[PD] array read -resize according to file ?