use unique filename in order to get pgt id
use unique filename to save pgt id