Allow runtime registration of file types to make code cleaner, i.e. no more new else if when adding new file types.
Allow runtime registration of file types to make code cleaner, i.e. no more new else if when adding new file types.