file read with scanner only