adding  reading version from a file