read file, make var