Fixed path to file register