also read file version
redundant code