Added implementation of getFileStore and its unit tests.