Fixed file modification detection issue.