Adds logic and structure to process uploaded files.