Authorized annotation for cached file writing method