- Use filepaths with /tmp for tests instead - Only mock functions where filepath can't be specified such as user.Lookup
- OS custom internal package for file system interaction - Remove fileManager external dependency - Closer API to Go's native API on the OS - Create directories at startup - Better testability - Move Unsetenv to os interface