Loop through files in directory

I am trying to loop through files in a directory, and sort each file. No matter what changes I make to the code, I get the following errors:

'aunch.sh: line 4: syntax error near unexpected token `do
'aunch.sh: line 4: `for f in ${FILES}/*; do

#!/bin/bash
FILES=$(pwd)
for f in ${FILES}/*; do
sort -k 4 -t $'\t' -n -o $f.sorted $f
done

What am I doing wrong?

Moderator comments were removed during original forum migration.