:dets.open_file/2 expects a list as a filename.