Added snippets for finding file names and directory names