Added filter option to the list command.