reading file only if it is not allready read
plot4
speed optimization