starting to fix the payload files interface
adding some tests for dotbagit