Changed way to store files data. As a result of it some classes
refactoring.