corrected event type in onload event of FileReader