return file path by iterator