Hello!
The first thing I need help with is what the terminology for what I want to create is, since that would make finding information, books and such about it a lot easier

It's kinda hard to find information on something you don't know the correct terms for ^^
Current Layout:
I have a house with 3 apartments, each has their own unique internet lines from different ISP's. (and No, getting them all to split on a bigger line is not an option).
Each apartment has it's own home network with several devices connected to their router. With their router being connected to their respective Modems(provided by their ISP).
The problem:
We want to have one or two computers on their own router to act as a fileserver and lan server for our computers.
So that anyone connected to any of the apartments can access the files on the file server(s).
What would the names for the parts of this network be? Is every apartment's network a subnet or?
And what would be a good solution to solve this problem?