added link. It works, however it uncovered a new issue, trying to add a file to a full directory causes a segfault if you try to interact with that directory