http://mbed.org/users/mbed_official/code/SDFileSystem/#7b35d1709458