Move file type plugins to external files