updating file implementation with rules