I have quite a few methods that requires opening some file (each method has different), doing some stuff, closing it. I am trying to figure this out by decorating methods, b