Ensuring file extensions are correct

  Originally, this gem would search for filenames with the `FILE_TYPES`
  in its name,regardless of position, and clear whitespace in them.
  This is not wanted.We want the `FILE_TYPES` in the filename