void popDirectory() { if ( _directoryStack.Count == 0 ) { #if !( XBOX || XBOX360 ) throw new AxiomException( "No directories left in the stack." ); #else return; #endif } string cwd = _directoryStack.Pop(); changeDirectory( cwd ); }