Replaces certain strings in uploaded files.

Updated so multiple files can be uploaded.