Moved setting of relativeFilePath to onNodeCreation method in FileBase so that nodes of custom file types are treated correctly