Finish writing the FileAction.