removed another readAsText in FileReader which is unnecessary