Used helper method to formulate paths.