File upload functionality done.