urlencoding files to remove spaces
urlencoding files to remove spaces