functionfiles added and subdirectory added for each RN