add ref files with os.walk