I wan't to store file data of a directory in a file. i.e., file name,file size etc so that i can reduce search time. My problem now is to find an efficient way to do it. I have considered json and xml but can't decide between these two. Also if there is a better way let me know.