Adding unlink function

This should resolve #23