Removed Instantiating Folder Paths By Reference

Removed instantiating folder paths by reference. This increases the
flexibility of the class at the cost of impacting performance
negatively.