How 2 read out File-Attributes like date-of-creation?

how can I read out File-Attributes like date-of-creation or last use? I found some examples (in java) on the net, but can’t get them working in OH.
Can anybody give me an axample. please?

I found something, to read out the date of last modification of the file.
So, for someone else who needs somthing like this:

    result = executeCommandLine("stat -t -c%Z /var/tmp/testfile.log",1000)

good luck