Update file references. Another split algo