Average multiple files together using their flagged weights.
This has better memory management than lst_average, as it only ever reads two files at once.