prasath_2k
as AlexKaras mentioned you can make use of aqFileSystem Object to achieve this .
please find the sample snippet for your reference were you have a peace of code which will log the last modified details.
def GetTimeExample():
sPath = "C:\\Temp\\TempFile.txt"
# Creates a file
aqFile.Create(sPath)
FileInf = aqFileSystem.GetFileInfo(sPath)
# Delays the script execution
Delay(2000)
# Writes data to the file
FileInf.WriteToTextFile("Hello, World!", aqFile.ctANSI);
# Delays the script execution
Delay(2000)
# Reads the file's content
FileInf.ReadWholeTextFile(aqFile.ctANSI)
# Posts the file's creation time to the test log
Log.Message(FileInf.DateCreated)
# Posts the file's last write time to the test log
Log.Message(FileInf.DateLastModified)
# Posts the file's last access time to the test log
Log.Message(FileInf.DateLastAccessed)
# Deletes the file
FileInf.Delete()