finding all paths in another file