Remove unused method
Fix broken test. Call getFileSystem only from synchronized method.