Created a documents upload handler