Create lookup_by_activity for plan files