write dependencies to file again, still deciding on format