reading file from GEt method fix