A module that will validate different file types - I made it for image types but you can override them with an array of your file types