threaded file reader