Add clone file header parsing, refactor CloneInfoFile so it can be passed to tasks (via Context)