Fixed default text files and implemented search