Added R functions for importing folder and parse