Added exception handler for when a file is uploaded with the wrong extension. Closes #34