If arg gives a directory, then use that