it may be likely that you tried to create a new file (or rename your current file) without the
.c ending. Maybe try adding those endings. i'm not sure what else could be the issue, maybe try adding a bit more detail?
hope i could help