Add class for working with files