added new string method to easily create dot files for a particular path