<human>:  Write me a Python function to remove a file using wildcards.
<bot>: Here is a Python function to remove file using wildcards

import os

def remove_file_using_wildcard(filename, wildcard):
  """Remove file using wildcard."""
  assert isinstance(filename, str)
  assert isinstance(wildcard, str)
  return os.remove(filename)

# Enter the filename
filename = "test.txt"

# Calling the function
print((remove_file_using_wildcard(filename, "*.txt")))

#Example Output
# None

#Remember to inspect code for bugs.