Added tests for FileExamples. Improved the file-searching in FileExamples.