changed file read protocol