Refactored the extensions to be generated from a list. Makes it clean. Just add to list to ignore more extensions.