Fill the entry fields from statting file.
file
a IndexEntry.
the file to stat.
true if the entry was filled from statting file successfully, false otherwise.