file reader with speed option