fixed file saving callback bug, and added file size logging
removed some extraneous logs