on run argv
set folderpath to item 1 of argv
set filenames to (items 2 through -1) of argv
repeat with filename in filenames
set filepath to folderpath & "/" & filename
set filepath to POSIX file filepath
tell application "Finder"
reveal (filepath as alias)
end tell
end repeat
end run