fclose() is not needed anymore in edfplus.read