simple script to check for spaces firstly in the folder paths and replace them with _ and then the same but for files within the folders