catch NullpointerException on fileSize.toString()