Remove redundant class and use file last modify time to check