Improved old classes for simple work with files