implementation of new asynchronouos file reader