- file: the name of the file
- lineNumber: reference line number for inserting
- insertText: text to insert
- insertMode: "0" insert AT, "1" insert AFTER line number
- addIfNotExists: set to true, if the the line should be added only if the line doesn't exist. false, if the line should be added on every execution.