Added snippets for os programming and file reading