compress the logic location file