Ignore directories when adding available log files.