Added file read write for rasa file and dir.