A function returning file contents?

I'm currently working on such an extension.

See this also:

Please show us your AIA or a test AIA and show the other blocks as well.

It is possible. I'll show the blocks a bit later.