Refactoring and first test
Read UID from file