finished todo with added form to allow upload files and check for filetype and echo error if type is wrong