I don't know if any programs currently exist but you could use something like HexEdit to compare the first n bytes and see the type of header. What would be easier is writing a small script/executable that can compare across a large collection of file formats, I think I'll write it soon