Problem is the function returns multiple filenames and relative paths