[PD] detecting file error in readsf~