[PD] how to check, if file is existing or not