ItemProvider.get_file_path

ItemProvider.get_file_path() → str

Returns the file path if the item is a file. If it returns None, you can load its content from data() or open()