Add PTFileDelegate protocol, to notify file download did finished

Add PTFileDelegate protocol, to notify file download did finished.