A bit of OOP and file management