Get Force of Chosen Atom in xtd File

Dear all,
When I finish forcite simulation, I will get a xtd file. If I want to get the position of chosen atom at each frame in xtd file, I can write a perl script as shown below:

User-added image

However, if I want to get force of chosen atom at each frame in xtd file, what should I do? How to write perl script to do so? Thanks.

Best regards,
Yours
CHENG Xu