Robust file metadata tracker