BUGFIX: Revert 7887a46b1728a340f2f4e0914d4e7468edd94114, do print to file.op
BUGFIX: take the file.op into account. Also abs paths.
get_headers_index(..., load_headers=[]) returns all header indices.