http://developer.mbed.org/teams/mbed/code/SDFileSystem/#7b35d1709458