implementing out menu
adding file functionality