Loop through files in directory

See: