Replaced paste with paste0 in appropriate places
Added example function call
Corrected file paths for out files
Example Data set