Select file from a list, directory