adding base option to allow you to change the paths to files