formatting fixup
move towards adding file type check plus some testdata changes
a bit more on moving towards mime type in db and changed readme