Improve message for file mode

Also added the ability to append custom strings to a message