Create scanRecords.java