Changes single file manager delete to a dynamic process like batch delete [#943]