ignore some files
support command line argument. Get device id if not specified.