Instead of concatenating strings and separators to make paths, the cleanest method is to build File objects using the different constructors available like File(String dirPath, String name) or File(Uri uri).