Refactoring, added parameter for source path and started a framework for getting files in that directory