Added a flag to disallow edits when importing entries from a file.

Signed-off-by: William <william@amovens.com>