[CB-2646] added fileSize method to file utilities