[CB-2646] added fileSize method to file utilities
[CB-2646] removed mistaken modification to mkdir file access