I've got a bit of code, where I get the timestamp, however I want to be able to say that I don't care what seconds it is, so... this is the code I have:

```
    String timeStampString = new SimpleDateFormat("yyyyMMddHHmm").format(Calendar.getInstance().getTime());
    File fileName = new File(universal + "/Downloads/" + timeStampString);
    String newName = "allPi.csv";
    if (fileName.exists()) {
        fileName.renameTo(new File(universal + "/Downloads/allPi.csv"));
    }
    else
    {
        Assert.fail();
    }

```

The downloaded file will have a full timestamp down to seconds, how do I say that I don't care what numbers are in the seconds part, like timeStampString + "\*\*"; or something??

I've tried a few random things like:

```
   File fileName = new File(universal + "/Downloads/" + timeStampString + "[.+]");

```

Can anyone help?