AdapterInterface based on file