I’m working on a project where the users can upload files, and I need to know the type of file they are uploading, a simple solution would be