adding dynamic file menu per application phase 4