file deletion upon edit/del