Added logging of file size