you need to provide the full filepath Folderpath/filename + filetype extension
so also as mentioned by Yoichi when looping over the files contained in a directory, then use File / Directory related statements for getting the single file paths
[CheatSheet] - Filesystem APIs - News / Tutorials - UiPath Community Forum