Changed eof to EOF
Added process of creating file