working file size soln in rb