code: def determine_file_type(filename):
      
      if filename.endswith('.cls'):
          return FileType.CLS
      elif filename.endswith('.go'):
          return FileType.GO
      elif filename.endswith('.java'):
          return FileType.JAVA
      elif filename.endswith('.js'):
          return FileType.JAVASCRIPT
      elif filename.endswith('.php'):
          return FileType.PHP
      elif filename.endswith('.py'):
          return FileType.PYTHON
      elif (
          filename.endswith(
              ('.yaml', '.yml'),
          )
      ):
          return FileType.YAML
      return FileType.OTHER
docs: :param filename: str
  
      :rtype: FileType