Implemented file deletion + db deletion