add dictionary, generics and work with files