Add abstraction for file permissions.