added adapter for files. Async read.