initial version
updated
added further test
fix problem with wrong file header size