A simple promise-based wrapper for file operations that treats files as objects.