Sounds good.

Perhaps we should improve the name in`getFileData`... it is somewhat error prone.
Because "get" implies something like "return the already obtained value".
What about something like: `readAndAllocateFileData()` ? Is that too long ?