[PD-dev] how to mark the end of loading a file