how can i determine the file size and the date it was last modified..

i need to compare two files and determine which one is the latest and which one is bigger in file size..

compare a.xml to b.xml..