Fixing upload form to handle edge cases and place files correctly