Bail granted to man after alleged sexual assault