If you want to take the file home, you can't sign an employment agreement with the company.
The employment agreement is used to register the card. If you sign a contract with the company, the registration card will be reported to the company, and then the files and accounts will be moved to the company.
If you want to move the files home, you can coordinate with the unit and only sign a labor contract with the unit.
Then sign an employment agreement with the talent market at home, so that you can move the files to the talent market at home in the future.