Automatically convert strs and lists to Files and Directories