Insert an Inherited Class from the Editor

Hi. In my game, each partition is a list of files, and File is serializable. And there are TextEditorFile, GameFile, etc. among the file types, all of which are classes inherited from File. Here, is there a way to put a certain type of file (ex. TextEditorFile) in each instance of partition in the editor?