Can read data from file by reg