getting the InputFilename (path) for postTaskScript