finished csvheapfile and back + fixes