output in same type as input
create a nipy base interface for filetype handling etc... did not updated all the existing interfaces though