why is shortcut to a file changed when pinned to taskbar

When I create a shortcut to a file and pin it to the taskbar, Libre changes the shortcut to open Libre Calc rather than the file that was created using Calc. Libre also ignores the unique icon for the file shortcut.