Works if there's a directory