initial implementation of file deletions; needs tests
add tests for deletions