file reader changed main & test file added