Add choose file function