Program now writes to .ddb files