refactored

Removed unnecessary changeSlashes function - used str.replace() in
createFileList instead