provide a general format-file-size function