added structure for reverse polymorphic representation of files with file_elements. NOT tested yet