core:open_resource added to read game resources
Code style of file classes
Close stream correctly
Reworking of files classes