Now detects duplicate files in a given path to be written to. Also, files now written properly to local storage on device