diff --git a/application/parser/file/bulk.py b/application/parser/file/bulk.py
index 8201b3f2..da6dc298 100644
--- a/application/parser/file/bulk.py
+++ b/application/parser/file/bulk.py
@@ -158,7 +158,7 @@ class SimpleDirectoryReader(BaseReader):
data = f.read()
# Prepare metadata for this file
if self.file_metadata is not None:
- file_metadata = self.file_metadata(str(input_file))
+ file_metadata = self.file_metadata(input_file.name)
else:
# Provide a default empty metadata
file_metadata = {'title': '', 'store': ''}
diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx
index 1f9ceccc..2f9891b5 100644
--- a/frontend/src/conversation/ConversationBubble.tsx
+++ b/frontend/src/conversation/ConversationBubble.tsx
@@ -370,7 +370,7 @@ const ConversationBubble = forwardRef<