[PD] two different ways to search for files