file uploads: added checking for correct file uploads

Check if appropriate file is uploading to each section.