update FileRead.c and gitignore file