So long as it's used to identify the number of files or filenames then it's fine. It's only an issue if we assume the file paths/names represent the file system on the device.