Added loop to load all files. Compute distances.
Cleanup. Added step 2 and 3.