Created a mechanism to read the player's position from file.