move Location back to SourceFile from Image: it is used elsewhere