Add some support methods for file based preferences