merge arduino filetype detection