changes on READFILE