added AP call to download sample with PK as the file name