Merge "Add metrics logging for file operations."