Fixed a bug in data file detection
Added in database reading support. Field names are now converted from FOO_BAR to FooBar by default