class FileElement def print raise NotImplementedError end def size raise NotImplementedError end end