File adapter