File encapsulation