Increase efficiency by checking for all points of reference when opening a file (instead of opening each file again for each point)