delete and batch delete functionality for filesystems