def get_ext(s):
  """Returns extension in lowercase 

  Args:
    s: Filename String
  """
  ext = ""
  try:
    f = s.split(".")
    out = f[len(f)-1].lower()
  except AttributeError:
    out = ""
  return out