File upload frontend (some backend problems)