One of the most important considerations in a problem like this is volumes, that is, how much data is involved?
The solutions appropriate when the files are a few kb is very different if the files are in Gigabytes. The number of keys in F1 is important, as is the key size.