test code for file menu