Local file attachment functionality