Removed unused checkSandboxFileEC2.