Error Handling and Delimiters

Added error handling in the func for zero length config files,
returns a new error reporting a zero length file. Up to you how
you handle this as not everyone needs one.

Added support for including your own delimiters to breaking up
your different configuration options. Pass in string delim as
second parameter to the function.