Read only valid filenames