added code to get_result_paths, started convenience function