file token generation based on relative path of pdf file
use relative path for image location