close the .desktop file after parsing it