@Test
public void getFileName() {

    String res = Utils.getFileNameWithoutExtension("/storage/sdcard0/images/abc.pic");
    assertEquals("abc", res);
    res = Utils.getFileNameWithoutExtension("/storage/sdcard0/images/abc");
    assertEquals("abc", res);
    res = Utils.getFileNameWithoutExtension("/storage/sdcard0/im.ages/abc.");
    assertEquals("abc", res);
}