make readconfig take a filename instead of a file pointer as argument
catch parse error while reading a config file
add a testcase for parse error
bar: unsupported file type (type is symbolic link)adding foobar: unsupported file type (type is symbolic link)bar: unsupported file type (type is symbolic link)adding bombbar: unsupported file type (type is symbolic link)