Flaw-driven Failure in Nanostructures