Core: file in main script, new methods in auditer

- main can use file for ldif
- getLastMessageId method
- setLastProcessedId method