Corrected fileSize() method bug