[FileBackend] Optimize the case were no operations are provided.

Change-Id: Iaf858ce2e8b21e031d27b984029f0424518201af
(cherry picked from commit 6b1194b9dadeff80b51d6af7c56c97244a92a058)