Remove un-used function. It is not needed anymore since we are using array for $paths