fileRead method