[PD] getting file info from a directory