added read from files

this require at least ie10