The file size action uses Locale.getDefault(). This may vary the parsing depending on the Locale. Using Locale.ROOT instead would mean that the parsing rules will never change.