Splitting keys into separate files.  Removing UnsafePerformIO.