Watchdog cleanup

Removing a function we don't use, audit_modified.
Make the file->function mapping a part of the engine.

Change-Id: Id656efb176340ccf9def59f1547e3f6f4ddb79b3
Merge "Watchdog cleanup"