reset to also accept .hdr as input, added tests