Take optional offset of sourcefiles into account.