Might be worth checking for hidden files. Things like `.DS_Store` might break this.