changes made to prepare loader for new filetypes