improved fopen in c.snippets
improved c.snippets