File IO with futures.